package cn.itsource.pet.service;

import cn.itsource.basic.dto.SearchMasterMsgDto;
import cn.itsource.basic.util.AjaxResult;
import cn.itsource.basic.util.PageResult;
import cn.itsource.pet.domain.SearchMasterMsg;
import cn.itsource.basic.service.BaseService;
import cn.itsource.pet.domain.SearchMasterMsgAuditLog;
import cn.itsource.pet.query.SearchMasterMsgQuery;

import javax.servlet.http.HttpServletRequest;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 26871
 * @since 2024-05-19
 */
public interface ISearchMasterMsgService extends BaseService<SearchMasterMsg> {

    AjaxResult publish(SearchMasterMsg msg, HttpServletRequest request);

    PageResult<SearchMasterMsg> finish(SearchMasterMsgQuery query,HttpServletRequest request);

    PageResult<SearchMasterMsg> pool(SearchMasterMsgQuery query,HttpServletRequest request);

    PageResult<SearchMasterMsg> toAudit(SearchMasterMsgQuery query,HttpServletRequest request);

    PageResult<SearchMasterMsg> toHandle(SearchMasterMsgQuery query,HttpServletRequest request);

    AjaxResult audit(SearchMasterMsgAuditLog log, HttpServletRequest request);

    AjaxResult reject(Long msgId);

    AjaxResult accept(SearchMasterMsgDto searchMasterMsgDto);
}
